package com.finance.system.user.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
public class UserOutbound{
    private Long id;

    @ApiModelProperty(value = "用户名，用来登陆")
    private String userName;

    @ApiModelProperty(value = "手机号，用来登陆")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "公司")
    private String company;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createAt = LocalDateTime.now();

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateAt;

    @ApiModelProperty(value = "密码，用来登陆")
    private String password;

    @ApiModelProperty(value = "昵称，用来展示")
    private String nickName;

    @ApiModelProperty(value = "性别")
    private Boolean gender;

    @ApiModelProperty(value = "区号")
    private String areaCode;

    @ApiModelProperty(value = "头像")
    private String headImage;

    @ApiModelProperty(value = "最近登陆时间")
    private LocalDateTime latestLoginTime;
}
